package com.shyroke.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping(value="/userAcion")
public class UserAction {

	@RequestMapping(value="enterInfo")
	public ModelAndView enterInfo(ModelAndView model,
	@RequestParam(value="expertNumber",required=true)String expertNumber,
	@RequestParam(value="resultNumber",required=true)String resultNumber) {
		
		model.addObject("expertNumber", expertNumber);
		model.addObject("resultNumber", resultNumber);
		
		model.setViewName("enterInfo");
		return model;
	}
	
}
